package com.health.article.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class ShmArticle {

    /**文章id*/
    private Long id;
    /**文章标题*/
    private String articleTitle;
    /**文章内容*/
    private String articleContent;
    /**文章图片/视频*/
    private String articleUri;
    /**视频*/
    private String videoUri;
    /**创作人*/
    private Long creatorId;
    /**文章状态（0-未发布  1-已发布）*/
    private Long articleStatus;

    /**创作时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**发布时间*/

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date releaseTime;

}
